package com.feifan.monthhelper.bean.db;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.arch.persistence.room.TypeConverters;
import android.support.annotation.NonNull;

import com.feifan.monthhelper.db.conventer.DateConverter;
import com.feifan.monthhelper.db.conventer.StringListConventer;

import java.lang.reflect.Field;
import java.util.Date;
import java.util.List;

@Entity(tableName = "living_habit")
@TypeConverters({StringListConventer.class, DateConverter.class})
public class LivingHabitBean {
    @PrimaryKey
    @ColumnInfo(name = "create_date")
    public Date createDate;
    public boolean hot_water;
    public boolean fruit;
    public boolean sports;
    public boolean breakfast;
    public boolean defecate;

}
